import { useLoaderData } from 'react-router-dom';

const Settings = () => {
  const settingsData = useLoaderData();

  return (
    <div style={{ padding: '20px', border: '1px solid #eee' }}>
      <h2>系统设置（子页面）</h2>
      <p>设置信息：{JSON.stringify(settingsData)}</p>
    </div>
  );
};

export default Settings;